package com.aomiao.orderserver.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author xiah
 * @date 2018/5/14 11:07
 */
@FeignClient(serviceId="message-server", fallback = MessageFeignClientFallback.class)
public interface MessageFeignClient {
       @RequestMapping("/api/message/addMessage")
       Long addMessage();
}
